<?php

$current_page = get_smarty();

$current_page->assign( 'ego_user_id', $User->get_id() );
$current_page->assign( 'ego_user_name', $User->get_value( 'username' ) );

$_page_content = $current_page->fetch( 'chat_test.tpl' );

?>